﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>超过时间页面自动跳转</title>
    <script type="text/javascript">
        var date = new Date();
        
        if(date.getMonth() <= 2 || (date.getMonth()===2 && date.getDate()<=27)){
            alert("跳转到第一页");
        }else if(date.getMonth()<=4 || (date.getMonth()===4 && date.getDate()<=15)){
            alert("跳转到第二页");
        }else{
            alert("跳转到第三页");
        }
        
    </script>
</head>
<body>

</body>
</html>